In mathematics, for a given complex Hermitian matrix and nonzero vector , the Rayleigh quotient[1] , is defined as[2][3]:
For real matrices and vectors, the condition of being Hermitian reduces to that of being symmetric, and the conjugate transpose to the usual transpose . Note that for any real scalar . Recall that a Hermitian (or real symmetric) matrix has real eigenvalues. It can be shown that, for a given matrix, the Rayleigh quotient reaches its minimum value (the smallest eigenvalue of ) when is (the corresponding eigenvector). Similarly, and . The Rayleigh quotient is used in min-max theorem to get exact values of all eigenvalues. It is also used in eigenvalue algorithms to obtain an eigenvalue approximation from an eigenvector approximation. Specifically, this is the basis for Rayleigh quotient iteration.
The range of the Rayleigh quotient is called a numerical range.
Contents |
A covariance matrix M can be represented as the product . Its eigenvalues are positive:
The eigenvectors are orthogonal to one another:
The Rayleigh quotient can be expressed as a function of the eigenvalues by decomposing any vector on the basis of eigenvectors:
which, by orthogonality of the eigenvectors, becomes:
In the last representation we can see that the Rayleigh quotient is the sum of the squared cosines of the angles formed by the vector x and each eigenvector , weighted by corresponding eigenvalues.
If a vector maximizes , then any vector (for ) also maximizes it, one can reduce to the Lagrange problem of maximizing under the constraint that .
Since all the eigenvalues are non-negative, the problem is convex and the maximum occurs on the edges of the domain, namely when and (when the eigenvalues are ordered in decreasing magnitude).
Alternatively, this result can be arrived at by the method of Lagrange multipliers. The problem is to find the critical points of the function
subject to the constraint I.e. to find the critical points of
where is a Lagrange multiplier. The stationary points of occur at
and
Therefore, the eigenvectors of M are the critical points of the Raleigh Quotient and their corresponding eigenvalues are the stationary values of R.
This property is the basis for principal components analysis and canonical correlation.
Sturm–Liouville theory concerns the action of the linear operator
on the inner product space defined by
of functions satisfying some specified boundary conditions at a and b. In this case the Rayleigh quotient is
This is sometimes presented in an equivalent form, obtained by separating the integral in the numerator and using integration by parts:
For a given pair of real symmetric positive-definite matrices, and a given non-zero vector , the generalized Rayleigh quotient is defined as:
The Generalized Rayleigh Quotient can be reduced to the Rayleigh Quotient through the transformation where is the Cholesky decomposition of matrix .